<html>
<head>
	<link href="<?php echo $css_url; ?>style-min.css" rel="stylesheet" type="text/css" />
	<script src="<?php echo $js_url; ?>cgb-min.js" type="text/javascript" ></script>
	<script src="<?php echo $js_url; ?>progressbar-plugin-jquery.min.js" type="text/javascript" ></script>
	<script type="text/javascript" src="http://code.jquery.com/ui/1.8.18/jquery-ui.min.js"></script>
	<link media="all" type="text/css" href="http://code.jquery.com/ui/1.8.18/themes/base/jquery-ui.css" rel="stylesheet">
	
	<style>
	#title_Earn {
	    color: #4A4A4A;
	    text-shadow: 1px 1px 1px #FFFFFF;
	    font-family: trebuchet ms,helvetica,tahoma,sans-sarif;
	    font-size: 20px;
	    font-weight: bolder;
	    line-height: 25px;
	    margin-left: 20px;
	    text-shadow: 1px 1px 1px #FFFFFF;
	}
	
	#content_offers a {
		font-size:12px;
		font-weight: bold;
		color: #438CCF;
		text-decoration: underline;
	}
	#content_offers a:hover {
		text-decoration: none;
	}
	
	#content_offers .requirements {
		color: #77A626;
		font-size: 11px;
	}
	#content_offers .payout {
		color: #000;
		font-weight: bold;
		font-size: 10px;
	}
	
	.off_slash_divider {
	    background-position: -143px -1px;
	    height: 2px;
	    width: 419px;
	}
	.sprite {
	    background-image: url("http://cdn.superrewards-offers.com/img/offerwall/v2/texture.png");
	    display: block;
	}
	</style>
</head>

<body>
	<div style="width:600px; margin:0 auto;">
		<div id="tabs left">
			<div id="header_links" class="tab right" style="width: 100%">
				<a href="<?php echo isset($s->params->links->help)? $s->params->links->help : ''; ?>" id="gh" target="_blank" class="right">Get Help</a>
				<span id="sbsr" class="right">Sponsored By Super Rewards</span>
				<script>
	//					$('#sbsr').button();
						$('#gh').button();
					</script>
			</div>
			<div id="content_offers" class="left" style="width: 100%; background-color: #FFF;">
				<table>
					<tr>
						<td id="content_titleEarn" colspan="2">
							<span id="title_Earn">Earn&nbsp;<?php echo isset($s->params->appinfo->currency)? $s->params->appinfo->currency : ''; ?></span>
						</td>
					</tr>
					
					<?php if(!empty($s)): ?>
					<?php foreach($s->offers->offer as $k=>$offer): ?>
						<tr>
							<td>
								<a href="<?php echo $offer->click_url; ?>" target="_blank">
									<img src="<?php echo $offer->image ?>" style="border: solid 3px #E0E0E0;" />
								</a><br />
								
								<span class="payout">
									<!--<img class="block" height="24" width="24" alt="" src="http://cdn.superrewards-offers.com/img/offerwall/v2/images/default_currency.png" /> -->
									<?php echo $offer->payout_text; ?>
								</span>
							</td>
							<td>
								<a href="<?php echo $offer->click_url; ?>" target="_blank"><?php echo $offer->title; ?></a><br />
								<span><?php echo $offer->description; ?></span><br />
								<span class="requirements"><?php echo $offer->requirements; ?></span><br />
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<span class="sprite off_slash_divider"></span>
							</td>
						</tr>
					<?php endforeach; ?>
					<?php endif; ?>
				</table>
				<script>
					$('.payout').button();
				</script>
			</div>
		</div>
	</div>
</body>
</html>